package com.ruoyi.subsidy.domain.bo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.system.domain.bo.SysSubsidyMaterialBo;
import com.ruoyi.system.domain.vo.SysSubsidyMaterialVo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * 补贴申请业务对象 sys_subsidy_application
 *
 * @author nbacheng
 * @date 2025-08-07
 */

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_machine_sub")
public class SysSubsidyMachineBo extends SysSubsidyApplicationBo {

    private String appyBy;
    private String idCard;
    private String bankCard;

    private String machineType;

    private String machineNum;

    private String machineRack;

    private String machineEngine;

    private String remark;

    private String phone;

    private String oftenAddr;

    private String idCardAddr;

    private String sex;

    private String abnormal;

    private String machineName;

    private String productName;

    private String moneySub;

    private String licenseNum;

    private String speModel;

    private String regiNum;

    private String power;

    private String price;

    private String productCompany;

    private String productDate;

    private String saleCompany;

    private String saleDate;

    private String invoice;

    private String year;

    private String straName;

    private String submitNode;

    private String attachments;

    private String renjiurl;

    private String townapplyurl;

    private String disappurl;


    @Excel(name = "乡")
    private String townName;
    /**
     * 村名称
     */
    //  @NotBlank(message = "村名称不能为空", groups = { AddGroup.class, EditGroup.class })
    @Excel(name = "村")
    private String villageName;

    @TableField(exist = false)
    private String startDate;
    @TableField(exist = false)
    private String endDate;


    @TableField(exist = false)
    private String statusShow;

    @TableField(exist = false)
    private List<SysSubsidyMaterialBo> listMateria;

}
